package com.briup.product_source.dao;

import com.briup.product_source.pojo.ManagerFenceHouse;
import com.briup.product_source.pojo.ext.ManagerFenceHouseExt;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ManagerFenceHouseMapper {

    List<ManagerFenceHouse> queryAllHouses(String fhName);

    ManagerFenceHouse selectByPrimaryKey(String fhId);

    int updateByPrimaryKey(ManagerFenceHouse record);

    int insert(ManagerFenceHouse record);

    void deleteById(String id);

    void deleteByIdAll(List<String> ids);

    ManagerFenceHouseExt selectHouseAndHurdlesById(String id);

    List<ManagerFenceHouse> findAll();

    List<Object> countAllResources();

}